
#ifndef _CONFIG_H
#define _CONFIG_H

#include "constantes.h"


#define DEBUG

//#define PIECESPARCARTON 10
//#define CARTONSPARPALETTE 10

#define SEUIL_REBUTS 20

#define TAILLEMIN_PIECE1 5
#define TAILLEMAX_PIECE1 15
#define TAILLEMIN_PIECE2 10
#define TAILLEMAX_PIECE2 15

#define MAXMSG_BALPALETTE 50
#define MAXMSG_BALCARTON 10
#define MAXMSG_BALORDRECOND 16
#define MAXMSG_BALORDREEXPE 16
#define MAXMSG_BALMESSAGELOG 16
#define MAXMSG_BALJOURNAL 16
#define MAXMSG_BALMSGRECV 16
#define MAXMSG_BALMSGENV 16

#define TAILLEMSG_BALMESSAGELOG 128


#define DATE_LOG_FORMAT "%d/%m/%y a %H:%M:%S"
#define TAILLE_DATE_FORMAT 20

// Journal
#define FICHIER_LOG "log.txt"
#define FILEMODE 0644
#define DATE_LOG_FORMAT "%d/%m/%y a %H:%M:%S"
#define TAILLE_DATE_FORMAT 20

#endif


